<!--添加材料-->
<top-title title="添加提料" icon="am-icon-user" mh-click=""></top-title>
<div class="am-padding-horizontal-sm am-padding-top">
  <form class="am-form am-form-horizontal am-text-sm">
    <horizontal-item config-data="{name:'搜索：',type:'text'}" ng-model="search"></horizontal-item>
    <!-- 下拉列表-->
    <div class="am-form-group">
      <div class="am-u-sm-9 mh-padding-none am-u-sm-offset-3">
        <ul class="am-list am-list-striped">
          <li class="am-list-item-text am-padding-vertical-xs" ng-repeat="feed in feeds" ng-click="feedSlected(feed)">
            {{::feed[1]}}
          </li>
        </ul>
      </div>
    </div>
    <horizontal-item-static config-data="{name:'名称：',type:'text'}" ng-model="selected[1]"></horizontal-item-static>
    <horizontal-item-static config-data="{name:'规格：',type:'text'}" ng-model="selected[4]"></horizontal-item-static>
    <horizontal-item-static config-data="{name:'单位：',type:'number'}" ng-model="selected[2]"></horizontal-item-static>
    <horizontal-item-static config-data="{name:'单价：',type:'number'}" ng-model="selected[6]"></horizontal-item-static>
    <horizontal-item config-data="{name:'数量：',type:'number'}" ng-model="selected.num"></horizontal-item>
    <horizontal-item config-data="{name:'进场时间：',type:'date'}" ng-model="intime"></horizontal-item>
    <button ng-if="showSubmit" type="submit"
            class="am-btn am-form-field am-btn-default mh-lightgreen am-radius mh-text-white"
            ng-click="saveFeed(selected)">完成
    </button>
  </form>
</div>
